﻿using System;

namespace Gnosis.Alexandria
{
    public interface IDispatcher
    {
        Guid Id { get; }

        void Dispatch<T>(Guid sender, T message)
            where T : IMessage;
    }
}
